package com.pp.ent.base;

import com.pp.ent.Cherry;

/**
 * 服务类一般都是单例，整个生命周期都会存在
 * Author:dengqu
 * Date:2016/7/26
 */
public class BaseService {

    public BaseService(){
        Cherry.injectObject(this);
    }

    protected void notifyService(String key, Object... args){
        Cherry.notifyService(key,args);
    }
    protected void notifyUI(String key, Object... args){
        Cherry.notifyUI(key,args);
    }
}
